package com.lagou.utils;

public enum SqlTypeEnum {
    INSERT((byte)1, "添加"),
    SELECT((byte)2, "查询"),
    DELETE((byte)3, "删除"),
    UPDATE((byte)4, "修改");

    private Byte code;

    private String desc;

    SqlTypeEnum(Byte code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Byte getCode() {
        return code;
    }

    public void setCode(Byte code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
